package cn.tedu._02notice.controller;

import cn.tedu._02notice.base.response.JsonResult;
import cn.tedu._02notice.pojo.dto.UserLoginParam;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "02.用户管理模块")
@RestController
public class UserController {
    @PostMapping("/v1/user/login")
    public JsonResult login(@RequestBody UserLoginParam userLoginParam){
        System.out.println("userLoginParam = " + userLoginParam);
        return JsonResult.ok();
    }
}
